package com.duck.inspection.service;

import com.duck.inspection.domain.po.ProductPojo;
import io.lettuce.core.dynamic.annotation.Param;

import java.time.LocalDate;
import java.util.List;

public interface MarketService
{
    List<String> getMarketIndex();

//    List<ProductPojo> getMarketProductByIdx(Integer idxId);
    List<ProductPojo> getMarketProductByIdx(Integer idxId);

    List<ProductPojo> getMarketProductByDateRange(@Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate);
}
